﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace MO
{
    public class FormDefine
    {
        public string Code;
        public string Name;
        public string Description;
        public string EntityCode;
        public string ViewTemplate;
        public string ViewScript;
        public string SubmitScript;
        //public string FlowScript;
        public FormDefine(DataRow row)
        {
            this.Code = row["Form_Code"].ToString();
            this.Name = row["Form_Name"].ToString();
            this.Description = row["Form_Description"] as string;
            this.EntityCode = row["ED_Code"] as string;
            this.ViewTemplate = row["Form_View_Template"] as string;
            this.ViewScript = row["Form_View_Script"] as string;
            this.SubmitScript = row["Form_Submit_Script"] as string;
            //this.FlowScript = row["Form_Flow_Script"] as string;
        }
    }
}
